class Person:
    def __init__(self, name, age,score):
        self.__name = name
        self.__age = age
        self.__score = score

    @property
    def score(self):
        return self.__score

    @score.setter
    def score(self, score):
        self.__score = score

    def setName(self, name):
        self.__name = name

    def getName(self):
        return self.__name

    def __str__(self):
        return "{} - {}".format(self.__name, self.__age)


p = Person("zs", 19, 99)
print(p)

p.setName("lisi")
print(p)

print(p.score)
p.score=100
print(p.score)

print(dir(Person))
print(dir(p))
